home *** CD-ROM | disk | FTP | other *** search
/ C++ für Kids / C++ for kids.iso / Loesung / PasCpp.txt < prev   
Text File  |  1999-01-30  |  576b  |  41 lines

  1. Vergleichstabelle Pascal und C++
  2.  
  3. Pascal/Delphi    C/C++
  4. and    &&
  5. array[] of Typ    Typ[]
  6. begin    {
  7. case    switch
  8. char    char
  9. class    class
  10. const    const
  11. constructor Name    KlassenName
  12. destructor Name    ~KlassenName
  13. do    do
  14. else    else, default
  15. end    }
  16. for    for
  17. function Name    Typ Name
  18. integer    int
  19. not    !
  20. object    class
  21. of    vgl. case
  22. or    ||
  23. procedure Name    void Name
  24. program    main
  25. real    float, double
  26. record    struct, union
  27. repeat    do
  28. String    String, char*
  29. then    vgl. if
  30. to    vgl. for
  31. until    while (!...)
  32. var Name : Typ    Typ Name
  33. virtual    virtual
  34. while    while
  35. :=    =
  36. =    ==
  37. <>    !=
  38. <    <
  39. >    >
  40.  
  41.